<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>海岛能源调度平台 - 智能能源管理系统</title>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #0066cc;
            --primary-light: #4d94ff;
            --primary-dark: #004d99;
            --secondary: #00b894;
            --accent: #f39c12;
            --dark: #2d3436;
            --light: #f8f9fa;
            --gray: #6c757d;
            --danger: #e74c3c;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #0c2461, #1e3799, #4a69bd);
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            overflow: hidden;
            position: relative;
        }

        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* 装饰性粒子背景 */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
            animation: float 15s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0); }
            25% { transform: translate(20px, 20px); }
            50% { transform: translate(-20px, 20px); }
            75% { transform: translate(-20px, -20px); }
        }

        .hero {
            position: relative;
            z-index: 10;
            max-width: 1200px;
            width: 90%;
            text-align: center;
            padding: 30px;
        }

        .logo {
            margin-bottom: 20px;
            display: inline-flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 50px;
            padding: 15px 30px;
            animation: fadeIn 1s ease;
        }

        .logo-icon {
            width: 60px;
            height: 60px;
            background: white;
            color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin-right: 15px;
            box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
        }

        .logo-text {
            font-size: 28px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .logo-text span {
            color: var(--accent);
        }

        h1 {
            font-size: 4.5rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            line-height: 1.1;
            animation: slideIn 1s ease;
        }

        .subtitle {
            font-size: 1.5rem;
            margin-bottom: 2.5rem;
            font-weight: 300;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0.9;
            animation: fadeIn 1.2s ease;
        }

        .features {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-bottom: 50px;
            flex-wrap: wrap;
            animation: fadeIn 1.4s ease;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 25px;
            width: 250px;
            transition: var(--transition);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .feature-icon {
            font-size: 36px;
            color: var(--accent);
            margin-bottom: 20px;
        }

        .feature-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .feature-desc {
            font-size: 14px;
            opacity: 0.8;
        }

        .button-group {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
            animation: fadeIn 1.6s ease;
        }

        .btn {
            padding: 18px 40px;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: 600;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .btn-primary {
            background: linear-gradient(to right, var(--primary), var(--primary-light));
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 10px 25px rgba(0, 102, 204, 0.5);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.15);
            border: 2px solid rgba(255, 255, 255, 0.2);
            color: white;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-5px);
        }

        .footer {
            position: absolute;
            bottom: 30px;
            width: 100%;
            text-align: center;
            font-size: 14px;
            opacity: 0.7;
            animation: fadeIn 2s ease;
        }

        .footer a {
            color: var(--accent);
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }

        /* 动画 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            h1 {
                font-size: 2.8rem;
            }

            .subtitle {
                font-size: 1.2rem;
            }

            .logo {
                padding: 10px 20px;
            }

            .logo-icon {
                width: 45px;
                height: 45px;
                font-size: 22px;
            }

            .logo-text {
                font-size: 20px;
            }

            .feature-card {
                width: 100%;
                max-width: 350px;
            }

            .btn {
                padding: 15px 30px;
                font-size: 1rem;
                width: 100%;
                max-width: 280px;
                justify-content: center;
            }
        }
    </style>
</head>
<body>
<!-- 装饰性粒子背景 -->
<div class="particles" id="particles"></div>

<div class="hero">
    <div class="logo">
        <div class="logo-icon">
            <i class="fas fa-bolt"></i>
        </div>
        <div class="logo-text">海岛<span>能源</span></div>
    </div>

    <h1>综合能源系统智能调度平台</h1>

    <p class="subtitle">
        基于AI预测与多目标优化的可再生能源管理系统，实现海岛能源的高效调度与智能化管控
    </p>

    <div class="features">
        <div class="feature-card">
            <div class="feature-icon">
                <i class="fas fa-chart-line"></i>
            </div>
            <div class="feature-title">能源预测</div>
            <div class="feature-desc">采用STL分解与LSTM深度学习技术，实现高精度能源需求预测</div>
        </div>

        <div class="feature-card">
            <div class="feature-icon">
                <i class="fas fa-cogs"></i>
            </div>
            <div class="feature-title">优化调度</div>
            <div class="feature-desc">DIC-MOEA/D多目标优化算法，生成最优能源调度方案</div>
        </div>

        <div class="feature-card">
            <div class="feature-icon">
                <i class="fas fa-brain"></i>
            </div>
            <div class="feature-title">智能决策</div>
            <div class="feature-desc">可视化数据分析，辅助决策者制定最佳能源策略</div>
        </div>
    </div>

    <div class="button-group">
        <a href="/forecast" class="btn btn-primary">
            <i class="fas fa-chart-line"></i> 能源预测
        </a>
        <a href="/optimization" class="btn btn-secondary">
            <i class="fas fa-cogs"></i> 能源调度
        </a>
    </div>
</div>

<div class="footer">
    青岛科技大学数据科学技术学院 | 毕业设计项目 | © 2025 海岛能源调度平台
</div>

<script>
    // 创建粒子背景
    function createParticles() {
        const container = document.getElementById('particles');
        const particleCount = 30;

        for (let i = 0; i < particleCount; i++) {
            const particle = document.createElement('div');
            particle.classList.add('particle');

            // 随机大小和位置
            const size = Math.random() * 10 + 5;
            const posX = Math.random() * 100;
            const posY = Math.random() * 100;
            const opacity = Math.random() * 0.2 + 0.1;

            particle.style.width = `${size}px`;
            particle.style.height = `${size}px`;
            particle.style.left = `${posX}%`;
            particle.style.top = `${posY}%`;
            particle.style.opacity = opacity;

            // 随机动画延迟和持续时间
            const animationDelay = Math.random() * 15;
            const animationDuration = 15 + Math.random() * 10;

            particle.style.animation = `float ${animationDuration}s ${animationDelay}s infinite ease-in-out`;

            container.appendChild(particle);
        }
    }

    // 页面加载完成后执行
    window.addEventListener('DOMContentLoaded', () => {
        createParticles();

        // 为按钮添加额外的悬停效果
        const buttons = document.querySelectorAll('.btn');
        buttons.forEach(btn => {
            btn.addEventListener('mouseenter', () => {
                btn.style.transform = 'translateY(-5px)';
            });

            btn.addEventListener('mouseleave', () => {
                btn.style.transform = 'translateY(0)';
            });
        });
    });
</script>
</body>
</html>